//
//  XRButton.h
//  TongMiBaby
//
//  Created by 史伟文 on 15/4/3.
//  Copyright (c) 2015年 XuanRuiTechnology. All rights reserved.
//

#import <UIKit/UIKit.h>
@class XRButton;
typedef void (^ClickButton)(XRButton *);


@interface XRButton : UIButton

@property(nonatomic, copy)ClickButton clickAction;

- (void)addTarget: (ClickButton)block;
- (void)setTitle:(NSString *)title andTarget: (ClickButton)block;

@end
